slightly modified code and added readme