new way of creating db