before db arhitecture