edited minor sytax errors