trying to get optional tasks from DB