implement attr value