- added a system clock so that we can easily change the system clock for testing purpose