have to try to figure out why my allocate guard isn't working
better errors for allocation