add click handler for LOOP testing