added example for selection