renamed initialize() function