add direct pointer access to state data. Use with cautious