adding in graphing element