usage of simpledirective