modied db schema