added alert to see how many views retained