ref and sel widgets