Removed c++ syntax for in function 'init'