wrong variable name. Should have been result, not results