add filter, and some basic feature injection