Changed Subject to be a factor rather than a numeric