Adding DB interaction