refactoring of sim step defines