dict improvements