databse and mcd