deal with the error portion only, seems more ideal