Adding form file and function