got rid of print(plot) in a few places