prepare the way for profile plots