Use different syntax for array creation. Remove object function.