implementing time