renamed api.time_stamp() to api.timestamp()