Change fill_pool to static method