fix bug and added readme