with string printer for debug purposes