changed index and orientation. should work now!