fix formatting per PR comment, remove commented unused variable secretKey