initial commit -- modified trans_key.py