updated env callback to show all the data