the first one works, but the second one always returns a 0. ( (e%4 == 0) & (self.current == e-1) ) ( e%4 == 0 & self.current == e-1 ) is there some reason the ordering in python can't accept the second one? thanks, -->keith Sent via Deja.com http://www.deja.com/ Before you buy.