added a basic time API example