got in and out edges set properly