use idiomatic [] instead of new Array()