UID Legacy function added again