added server version support