improve dictionary.m
improve syntax