modified orders controller and global; created crossng event