udpated readme
cleaning up code