maty - stack change to extend resource and remove null checks
Merge pull request #19 from inbarsto/stackChange

maty - stack change to extend resource and remove null checks