pri donation commented out. will begin improvements
added outline for doing pri donation without mallocs