removed to_time conversion, as it is unneeded