need to add null object pattern