generatepeerID added