table allocation work