added snippet for associative containers