Make order function complete