added input validation to hourly wage and item cost