add prop condition