Added example for select-method.