added uid propigation method