refac begin