Added a alternative (probably better) readyread and some comments