working on orders controller