work on frontend for plots