adding a special case for factorial