adjusted some graphs, moved code listing to the very end