breaking up code