add directives
greg's changes from last week