implement select control