First working version, able to complete an order