fixed up study a bit