added proper alloc's