Form_Materials Code Re-factoring