working with null objects