added back processing code