add readme & refactor to private method