some minor fixes have been made after first analyze of output