memorization for inserting actors