Working on real-time clock functionality