refactoring to delete the initialize param