setup mr behaviour