Rearranging the code.