create correct database