pull scale attribute to state class and add step method