Added 3 lab, format output, Fact func