renamed accepting state, added another initialfinalstate and delete key