added 'alloc' fxns