Made 1st DB implementation