change to template (Ra => slice num)