implemented before and after filters