back to edi
Working code before changing table structure