tmp mode