simplified order registration, made orders.OrderTypes a func