In the next few weeks I will be updating this to object oriented programming