made variable names in example clearer