got rid of junk from SO about changing panes