factor out serverinfo