preparing for database implementation