code reorgnize