add attributes def