add pick logic.