random q stuff