Input stream reader verion of apply()
v0.1.1