added class and output files