added missing accepting state in step 5