take that and end condition
take that and end condition