Adding dimension check