state also handle in the getComment method