started to change code to a more structured approach