added source and edited db structure