making _write callback

cleaning up

removing set interval

cleaning up
travisplexer: pr-293-osx travis ci test