remove elm from state logging, use srf for array's range