changed syntax for setting content type