recognize location for any orientation now working. Learnt all locations