could you briefly explain this line for setting up the scanParams...