improve transitions