init for backend