add look like another method for linearize