sentence UI for storing and retrieving sentences