added codes for discount owner