get views dynamically