Added newCode and serviceType params