master filter implemented

just run last part of felix_wip