added a few extensions
renamed boolean to something more useful