Added x shifting