assertions in datahandler