making ab test depend on click