moved sensitive information to local variables