prganize code