added new output port, renamed class
fixed extra lines