added activeattribute stuff