avoid contains(), it's deprecated