parser before plotting