added prefix m_ to private variables