added the repeater, solved small case