input, ring is done