Generic state manager done