added master shit
added master shit
populate db function added not completed