database added and work