updated createOrder() function
added selectDefaultAddresses() function