refactor method and remove commented out text
refactor readme