my implementation of  irrKlang