some dumb mallocs