public void setAnnualSalary(double annualSalary) {
        if (annualSalary < 0){
            throw new IllegalArgumentException("Salary must be greater than or equal to zero");
        }
        this.annualSalary = annualSalary;
    }