cleaning up the GLW examples a bit