Changed name to lockin_phase