raname class and change output