edited for LS