changes made before def