generating charts on request, refactored names