integrate group strategy into context manager