cleaning duplicate code