breaking out the base components of the 'tag' command