#16 checking for nil closed on as well