moving the code