refac works