Check direction