WIP: custom time type