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