puts types before method names. remove class name duplication