added mouse click behavoir