useless block of code has been removed