simply use object reference instead of checking for null