TRUNK-3933 added random question function