working on plotting preprocessing stuff