working for add database var