implementaion of View

- one function added