simply changing the syntax of the $data array