changed some lines of sca