Impact of varying cognitive resources on memory recall