added sample of adding nonce and created
minor cleanup to alternative selector