tutorial 8 add and get methods