add null constructor to foo