BUG: parameters were given in the wrong order, it created .png images while testing