fixed code to take in the appropraite starting value for init_adapt