I don't know how to do this after checking my code , it looks in the way but actually it is not really good to execute,could someone give help about how to fix it?