some work on edges