How would you write it in Delphi if you need to support X-Box 360?