UPGRADE: osdep