changed stream to moment