mechanism to find out which cell the user clicked