checking for null pointers, some additional work still to be done
Merge pull request #6 from breebhu/master

checking for null pointers, some additional work still to be done