removed 'new' operator from array creation