added setting for uid