added support for 'toread' option