convert secex step 1 to use Click lib