Fixed #7
Fixed processing resources (aka fixed #6)