Resolved a conflict. Took the def InsertElementstoDB with non-mandatory
rowname, keyname arguments