commented out visualization code using PIL for server execution