cache - final- with comments