added link to reference documentation
changed variable names