added format conversion