adding factorial