updated to use epi-edge, bug with passing params