Fixed the init function