setting up db queries
merge of other user