using info graphics in class