This code is a bit longer does the same thing and it should work now :P