Clicking functionality out of scope