finalised database