Adding Database Methods