Added the boolean expression for the complted signal