fixed compilation issues. Added necessary dataformats