Changed contains comparisson to use indexOf