Duplicate code? Maybe a function where you can pass an URI. We might use this later on ;)