added chain reaction on click