finished implementing get edge function and tests