plotting and starting value functions