added search by compound
split to 2 db's