Made $password global.