same enum for client abd server