Corrected getExtraInfo function.