worked on view implementation