reverted back to old dynamics, corrected state range which was wrong