remove unused variable.
added linear to docu.