doing upfront work for adding ability to filter out edges