adding missing declaration of member attributes
adding missing declaration of member attributes
Merge pull request #8 from quocvu/master

Just tidy up the code a bit