improved statefile for suave