working on completed motion filter