Cache State Machine written, but untested