fixed Code to code