started database implementation