improved server creation