Added 30s loop, but still crashing