add constructor to form1