fixing reference to 'readline' which should be 'read'