adding get_views id method