Edited Frontend.php

Edited Filter ( a lot!)