edited class print