start refactoring out vetTask and move out time functions