add pat's handler for single clicks