work on dynamic select menu generation