Added comments, currently not correct programming, needs to be changed