Rearranging
Logic skeleton
Logic