adding additional funcationality and checking to see if everything works