made nolineprint optional