you should post the errors you get...
anyway why do you put a semicolon ; after the for loop? doing that you stop the loop there and leave alone the code below :(
delete that semicolon and...