dynamic views working