Just like with functions, we use braces when calling a method. So make sure to choose employee.totalSalary();.
employee.totalSalary();