Added clock API (barebones)