added a conversion factor function, still needs a way to know the end time