refractoring lack of cohesion of methods