added 'in' and 'out' readers
Added event recognition for the reader listener