finish first version 4 database