All code but freezes