removed plot functions