added context function
Merge branch 'master' of https://github.com/limichaelc/PTX2
added context function