debugging return value