add missing time implementation