At his regular hourly rate, Ed estimated the cost of a research task to be $528 and he was paid that amount. However, the job took 8 hours less time than he had estimated and, consequently, he earned $11 per hour more than his regular hourly rate. What was the time Ed took to complete the task, in hours?