mv rsf class to func