added text box to train markers