set_order_home function added