Would malloc help?