changed resource structure