more work on spec and dictionary