wrote a associative array