added functionality for using better plotting facilities but not yet ready