Broke up the code