removing assert notnull