Renamed functions and added documentation for put