finishing adding methods and lines to end the first part of the project