update readme and refactor helper