created cleaned up dictionary class