using params for view configulation