Updated function dbVars() and samples

still looks like shit