init for work