Refreshing understanding of instantiating classes