add example code using string array to store places