capturing on edges now functioning