Condensing changeSubmitted Code