added clock for scheduling things