better error reporting
client helpers