removed the unnecessary initFunc