added onserver init to the "doc"