Added method removeFactor