delay added to set WP
debug values added to graphs