Used deprecated override for orientation