removed test if statement