Removed stepping and stator code