Finished implementing Filter class