interface for TEXT && GRAPH mode added