on indexOf() challenge