proper error to be propagated to top