// move quick viwe def to global