created separate select widget for reuse