Salary calculations implemented to method