created return value to deal with buggy data