setup to use analloc2