Use device instead of phones for variable/scope names
Update filter to remove all whitespace