update return value of init()
insert wave and sub commands