use empty array if no placements or variables