removed date import statement and added documentation for getUid method