#3 clip onRequest function.