next preparing for debug
extract run profile state class
next for debugging