worked on rent method for hw 10