get rid of buffer reader