total set after checking for errors