added building form fields functions