working single variable regression