make initialization independent of server start