cleaned up melt-cast-melt mess