add context documentation; closes #3