[TASK] Implements first functionality of the filter