Update code to allow 52 parameters