use indexOf instead of non-standard startsWith