Time setting now working