re #51 stupid mistake where I returned an object instead of a boolean (need type safety!)