gets dictionary working