minor chnages to Output