compile code