moved filter to hosting; made internal