Trying to understand how magma works