changed grad to self written