added assertNotNull