add robust fitting