i worked it out and it seems to work. the way i fixed it was that i would only put that code in a separate code file. TIP* put the code in a new file and keep it to its self. btw zapos thx for the code