added associative array argument