added destroying of single resources