Use a record for the parameters instead of an army of variables