use the __future__ for print
isinstance has been replaced by short declaration of type