renamed sim fit code