- implemented functionality to generate sa payload from