added additional requirements for attributes