O.k. I found out what is wrong with my program that I am writing but just dont know how to do what i need. I am trying to decode a message. I have the key set up as an array and I have the part setup that will translate the charechters. My problem is that I dont know how to setup the encoded message so that the program only reads it one charechter at a time. i want it to read one charechter then go to the translation part then back to read another charechter and keep doing this until it hits the end of the encoded message. Any help on how to do this would be greatly appreciated.