make the code work