creating new orders

with a bug at submitEvent that makes everything worse.