added message selecting technique