before switch to linear
switched to linear