Started with methods and trying to understand error message