created a local variable in last commit where a self reference should have been added instead. this is corrected.