checking edges