temp figure for dynamic allocation