made initialize() method public