switch types to be a drop-down