remove unused attribute
update example to use context functions added to run context