revised filters
porting to coffee script