finished the method section