never ending plotting fixes due too poorly thought out functions