Working on error state, debugging on.