update to error messaging