#5 added init call to filter and fixed use