save before logical operators