get some infos from db