building better error handling to "submit reference" process