trying to fix print method, fails