access to more current state values in renderstate