Return 0 on success in init