Clean resources example