breaking the code into smaller easily tested functions