Clock works, subbing on the way
Untested, maybe working version