Removed unnessesary thing and fixed a functions name