logic related 2