add dual reveal function