Added method for calling tasks