substatemachine working, entering game