equality operators.
explicit constructor.
replace usage of NULL with null.