use a static reference for filter
changed Machine to be conform with the exercise