small refac