comments added
added outputs