Changed from returning to printing XMI