working on q stuff