script for categorizing. dictionary practice