more work on dictionary class