map replaced with associative array