updated python template so comparing between classes workds