returning failures to user