it is not good code