added option for specifing tag name