added variables to database