Return code to parse to UI