put code in the wrong place