up/down re-added from old code