throwed exception instead of failing