fix #27: easy standalone contexts
function to create scope for context