i added these to implement plotting and cards..