impelemence before and filter api;