some preparations for hosting