maybe uncomment this and put behind ASSERTIONS? or do it warnOnce?