concized dictionary generator method