Made errors optional