updated with errors as ratio