orginise code