Added addCustomTag function