added codered converter
rethought about test