Removed bad orientation code.