changed type for tags