Linear sample implemented.