minor tweeks to spq