check for attrs