adding linear kernel option