Debug.write('mystate apply method');