updating readme
adding argument function type checks