Replaced the brackets by the array function