earlier initializations for ui elements