Code refractored in FactsBook class