passing parameters to the loading view