refact system form