started work on internal edge problem