database added, and model