ls_internal_state.h added (was missing)