updated processing codes