checked the code