convert secex step 5 to use Click lib