Converted pwd from String to char[]. Still working on Initialization.