pep 8 stuff
added escape logic for non supported matrix