Add assign attributes example