clean up code by breaking into more functions