slight tweak to q9