response to mouse click added..