working on factorial page