add isRegistered(name) and constructor with name of tag