implement writing to short term sink