added drop down list for restype