added new methods
preliminary save
chapter 5 exercise 1