adding get view strucuture