cleaning up browse functionality