taking the error map global - its easier, apply global namespace 'ysp', appropriately