check to see border