change from class to instance

I deleted to temp files too.