datetime properly imported