improvements to edge responses, removed debug prints