handle similar resources - this fixes #13 as good as I can atm (suggestions welcome)