Explain both of these methods.