created view reader and writer