added draft of upstream function, #343
bumped date and version