deals design and functions