now compatible with Delphi XE3