Changed formatResults from protected to private