The def and if statement are indented properly in the program - they just came out wrong in the email. _________________________________________________________________ MSN Life Events gives you the tips and tools to handle the turning points in your life. http://lifeevents.msn.com