Too much repeated code.
Too much repeated code.