why was 'this->' necessary?