changed acor to propagate errors