rename method and add comments