StepFunction module and it's applications