minor changes partialy added output