working on edges