starting to hold view resources in database