stat allocation work