Added example with orientation control