simplified the init