add wildcard for removing from and testing arrays