added Alloc methods; not tested