database added method