Correct usage of "this" pointer