adding functionality to handle comparing times and determine what the status of tasks are