drews desktop code and uin substring