removed plotting-related functions and tests