modeling for stack xml