interface changed for data plot