changed the type and Readme examples