Create OnState.h