* added types
* bug fix on waves