generated orders controller