testcode in wave removed