pushing finding orientation and angle code; not finished