made the resource section of the side generate dynamicly