Created the browse function and passing parameters