added readme and fixed error message