changed 'table' to 'context' in a few spots