add an init argument to attr