starting new branch
reworking using pointers
bad code
adding changes