main function in kvserver must be static