added way to catch ArgumentError