added stuff for password translate