a pan can be used for cooking