Couldn't the second parameter here be $tags?