added first 5 functions for pulling from DB in accordance to Vidya's table document