switch to inferring 5 parameters