A three phase approach for operating theatre schedules