How to create a step procedure