add support for for attribute