drop down list with converting to objects
add some javadoc