Renamed method and added documentation