dot syntax works with arrays