Improve initialize process