Updated readme
Fixed type casting