RTC driver, prototype - not quite working