[Front-end] Progress on filter, but very buggy
[Front-end] Refactored Code, problem is that we're behind by one cycle all the time. not sure why