add attributes example