work on the eqsim functions