An Analysis of Prospective Memory