Page won't load. Problem with recursion?