new unique key
accessable properties
added db testcode