dict extensions