add factorial task