Dr. Williams is researching the function of dreams in memory retention. She believes that dreams help people sort out the day's events and consolidate their memories. Dr. Williams is probably a proponent of the _____ theory of dreams.