Make your code linear