adding ability to check other boxes edges