fixed initialize functions to adhere to C++ function defninition rules