minor code updates.