instantiate with the correct # of parameters