working on the driest way to get allocation time from ojbects