removed unneccessary code that handled adding tags