fixed class().toString() - working properly now