create the 'state' object. useful for testing, hopefully.