added server key stuff