#137 rename method and added javadoc