add condtion