added visualization of q values