add enable_repeating function into data-types