little work
clean unneeded
realised variable changing