allows for NONE as task type