added completed as a required param and removed the if statement asking if it was true