bug fix
Added parameterized boolean functions -> works, but not as well as in JavaScript