used helper functions to initialize dropdown