use polymorphism to replace if statement
rename method
de-duplication code
inline methods
extract methods