fixed code; added readme