changed syntax to compile