base work with edges