misprint in "passocde" and "trasaction"; implicitly declared global variable key; unneeded commas.