flipped license, fixed repr and DbFn representation